package com.huqing.icu.dto;

import com.huqing.icu.enums.CommentBusTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Description 评论查询dto
 * @Author huqing
 * @Date 2025/1/15 16:00
 **/
@Data
public class CommentQueryDto {

    @Schema(name = "topCommentIdList", description = "一级评论id集合")
    private List<Long> topCommentIdList;

    /**
     * @see CommentBusTypeEnum
     */
    @Schema(name = "busType", description = "评论涉及的业务类型 10-房源 20-社区 30-闲置模块")
    private Integer busType;

    @Schema(name = "busId", description = "评论涉及的业务ID")
    private Long busId;

    @Schema(name = "floor", description = "层级 1-一级评论")
    private Integer floor;

    /**
     * com.huqing.icu.enums.CommentSortTypeEnum
     */
    @Schema(name = "sortType", description = "排序类型 1-最新 2-最热")
    private Integer sortType;

    @Schema(name = "startIndex", description = "第几页")
    private Integer startIndex;

    @Schema(name = "pageSize", description = "每页大小")
    private Integer pageSize;
}
